package cn.butcher.pojo;

/**
 * 教师实体类
 */
public class Teacher {
    /**
     * 教师编号
     */
    private int teaId;
    /**
     * 教师姓名
     */
    private String teaName;
    /**
     * 教师电话
     */
    private int teaPhone;
    /**
     * 所属学院
     */
    private College college;

    public Teacher() {
    }

    public Teacher(int teaId, String teaName, int teaPhone, College college) {
        this.teaId = teaId;
        this.teaName = teaName;
        this.teaPhone = teaPhone;
        this.college = college;
    }

    public int getTeaId() {
        return teaId;
    }

    public void setTeaId(int teaId) {
        this.teaId = teaId;
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }

    public int getTeaPhone() {
        return teaPhone;
    }

    public void setTeaPhone(int teaPhone) {
        this.teaPhone = teaPhone;
    }

    public College getCollege() {
        return college;
    }

    public void setCollege(College college) {
        this.college = college;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "teaId=" + teaId +
                ", teaName='" + teaName + '\'' +
                ", teaPhone=" + teaPhone +
                ", college=" + college +
                '}';
    }
}
